package org.tacticalTroopers.jme.common.message;

import java.util.ArrayList;
import java.util.List;

import com.jme3.network.message.Message;
import com.jme3.network.serializing.Serializable;

@Serializable()
public class GameMap extends Message{
	
	List<Element> walls = new ArrayList<Element>();

	public GameMap() {
		//setReliable(true);
	}
	
	public List<Element> getWalls() {
		return walls;
	}

	public void setWalls(List<Element> walls) {
		this.walls = walls;
	}

	public void addWall(Element elementMessage) {
		walls.add(elementMessage);
	}
	
	@Override
	public String toString() {
		
		return "GameMap{walls:"+walls+"}";
	}

}
